package com.twoGroup.boot.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;

public class Shop {
    @JsonProperty("shopId")
    private Integer shopId;
    @JsonProperty("shopName")
    private String shopName;
    @JsonProperty("shopReputation")
    private float shopReputation;
    @JsonProperty("userId")
    private Integer userId;
    public Shop() {
    }

    public Shop(Integer shopId, String shopName, float shopReputation, Integer userId) {
        this.shopId = shopId;
        this.shopName = shopName;
        this.shopReputation = shopReputation;
        this.userId = userId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public float getShopReputation() {
        return shopReputation;
    }

    public void setShopReputation(float shopReputation) {
        this.shopReputation = shopReputation;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "shop{" +
                "shopId=" + shopId +
                ", shopName='" + shopName + '\'' +
                ", shopReputation=" + shopReputation +
                ", userId=" + userId +
                '}';
    }

}
